package com.cater.sys.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.cater.query.LogQuery;
import com.cater.sys.entity.Log;

@Repository
public interface LogDao extends BaseDao<Log, Integer, LogQuery> {

	int findCount(@Param("qo") LogQuery logQuery);

	List<Log> findList(@Param("qo") LogQuery logQuery, @Param("first") int first, @Param("max") int max);

}
